<%@ page import="com.example.oa.Employee" %><%--
  Created by IntelliJ IDEA.
  User: admin
  Date: 2023/3/13
  Time: 10:31
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>edit employee</title>
</head>
<body>
<h1>edit employee page</h1>
<form action="/employee" method="post">
    <input type="hidden" name="action" value="update">
    <input type="hidden" name="id" value="${employee.id}">
    <input type="text" name="name" placeholder="NAME" required value="${employee.name}">
    <br>
    <input type="number" name="age" placeholder="AGE" required value="${employee.age}">
    <br>
    <input type="submit" value="Update">
</form>
</body>
</html>
